package com.yunhe.common.constant;

/**
 * @ClassName MessageConsts
 * @Description TODO
 * @Author HeTao
 * @Date 2021/10/19 17:10
 * @Version 1.0
 **/
public class MessageConsts {

    public enum MessageDestination {
        //01 草稿箱 02 待发布 03 已发布 04 禁用
        parkApp("parkApp", "面向园区"),
        parkWeChat("parkWeChat","面向企业"),;
        private String value;
        private String title;
        MessageDestination(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    public enum MessageType {
        //01 草稿箱 02 待发布 03 已发布 04 禁用
        Notice("notice", "公告"),
        ReportForRepair("reportForRepair","报事报修"),;
        private String value;
        private String title;
        MessageType(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    public enum PersonType {
        //01 草稿箱 02 待发布 03 已发布 04 禁用
        StationUser("stationUser", "园区"),
        CompanyUser("companyUser","企业"),;
        private String value;
        private String title;
        PersonType(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }

    public enum WhetherRead {
        //01 草稿箱 02 待发布 03 已发布 04 禁用
        Read("02", "已读"),
        UnRead("01","未读"),;
        private String value;
        private String title;
        WhetherRead(String value, String title) {
            this.value = value;
            this.title = title;
        }
        public String value() {
            return value;
        }
        public String title() {
            return title;
        }
    }
}
